home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d17 / ljiii.arc / ADIPLT.DOC < prev    next >
Text File  |  1990-11-25  |  8KB  |  219 lines

  1. ADIPLT.COM: ADI Plotter driver for AutoCAD / LaserJet III
  2.  
  3. This is a shareware program.  If you use decide to use it after a reasonable
  4. trial period, please print the registration form, REGISTER.TXT and send it and
  5. $50 to:
  6.  
  7. Robert McNeel & Associates
  8. 3670 Woodland Park Avenue North
  9. Seattle, WA 98103
  10.  
  11. Lowell Walmsley  cid 73417,1452
  12.  
  13. Direct questions and comments via the ADESK forum on compuserve.
  14.  
  15. Thank you.  I hope it does you some good.
  16.  
  17. ------------------------------------------------------------------------------
  18. Thanks to Mark Middlebrook 73030,1604 for prodding and documentation.
  19.  
  20. ** Files **
  21.  
  22. ADIPLT.COM       ADI driver
  23. ADIPLT.DOC       This file
  24. REGISTER.TXT     Shareware registration form
  25. TESTPLT.DWG      Drawing for demonstrating the driver's capabilities
  26.  
  27.  
  28. ** Introduction **
  29.  
  30. ADIPLT is a TSR program that handles the interrupt calls from AutoCAD and
  31. produces output according to the selected options.  Because ADIPLT uses the
  32. LaserJet III's HP-GL/2 mode, the printer will actually behave like a plotter,
  33. complete with different "pens" and hardware linetypes.  You access these just
  34. as you would with any other plotter: by answering questions during AutoCAD's
  35. plot dialogue about the pen and linetype numbers for each color.
  36.  
  37.  
  38. ** Preparing the LaserJet III **
  39.  
  40. Make sure you have at least 2 MB in your printer (1 MB standard + minimum 1 MB
  41. additional), otherwise you'll run out of printer memory on all but the smallest
  42. of plots.  It's probably best to have 3 MB total, especially if you do complex
  43. plots.  To check how much memory is in your printer, take the printer off-line,
  44. and hold down the Print Fonts/Test button for about 3 seconds, until you see
  45. "05 Self Test" on the printer display.  After a minute or two, a test sheet
  46. will be printed that lists, among other things, the amount of memory in the
  47. printer (next to "RAM size").  This number should be at least 2048 KB.
  48.  
  49. Also, make sure you have the printer's Page Protection set to Legal.  Check
  50. your test sheet, and if it doesn't say PAGEPROTECT = LGL, then follow the
  51. instructions on 4-20 through 4-29 of the LaserJet III manual for setting it to
  52. Legal.  
  53.  
  54.  
  55. ** Loading ADIPLT **
  56.  
  57. Load the driver before starting AutoCAD.  You can do this by running it from
  58. your AUTOEXEC.BAT file, or from the batch file(s) you use to start AutoCAD.  It
  59. takes up less than 5 KB of memory.  DON'T load it from the AutoCAD shell or
  60. AutoCAD won't be able to recover when it tries to come back.
  61.  
  62. There are several command line switches that allow deviations from the default
  63. configuration at load time:
  64.  
  65.   /Ln   selects output to LPTn: (1-3)
  66.   /F    enables plotting to file
  67.   /D    disables plotting to file
  68.   /Ixx  selects interrupt vector xxh
  69.  
  70. Any command line switch will override any configured default parameter.  The
  71. driver can't unload itself, but it will refuse to load more than once.
  72.  
  73. The driver is shipped set to defaults of:
  74. LPT1:    - Use /Ln
  75. No file output - Use /F to override
  76. Interupt vector 78 - Use /Ixx to override
  77.  
  78. If you also have a pen plotter, and want to be able to plot to both, you'll
  79. need to maintain two sets of configuration files, and specify which set to use
  80. by changing the ACADCFG envrionment variable.  This procedure is described in
  81. chapter 4 ("Performance") of the AutoCAD Installation and Performance Guide.
  82.  
  83.  
  84. ** Pens and Linetypes **
  85.  
  86. The different "pens" are set to:
  87.   
  88.   Pen #   lineweight
  89.   -----   ----------
  90.     1       0.10 mm
  91.     2       0.20 mm  (~extra fine plotter pen)
  92.     3       0.35 mm  (fine plotter pen)
  93.     4       0.50 mm  (medium plotter pen)
  94.     5       0.70 mm  (broad plotter pen)
  95.     6       0.90 mm
  96.     7       1.20 mm
  97.     8       2.00 mm
  98.     9       0.35 mm
  99.     10      0.35 mm
  100.     11      0.35 mm
  101.     12      0.35 mm
  102.     13      0.35 mm
  103.     14      0.35 mm
  104.     15      0.50 mm
  105.  
  106.  
  107. The different "plotter" linetypes are set to screened lines as follows:
  108.  
  109.  linetype #    % screen
  110.  ----------    --------
  111.     0            100 (solid line)
  112.     1            10% (lightest screen)
  113.     2            20%
  114.     3            30%
  115.     4            40%
  116.     5            50%
  117.     6            60%
  118.     7            70%
  119.     8            80%
  120.     9            90% (darkest screen)
  121.  
  122.  
  123. ** AutoCAD configuration **
  124.  
  125. Once the driver is loaded into memory and the printer is ready, you need to
  126. configure AutoCAD.  The responses in {curly braces} shown below are for AutoCAD
  127. 386; comments are shown in [brackets].
  128.  
  129. Start AutoCAD, and from the main menu, choose item {5} [Configure AutoCAD].
  130.  
  131. Hit {Enter} to get to the Configuration Menu.
  132.  
  133. Before selecting plotter configuration, choose item {2} to allow detailed
  134. configuration, and type {Y} to confirm that you want to do it.  Hit {Enter} to
  135. return to the Configuration Menu.
  136.  
  137. Choose item {5} to configure the plotter.
  138.  
  139. Type {Y} to select a new device.
  140.  
  141. Select Autodesk Device Interface plotter {4}; DON'T select the ADI P386 plotter
  142. option in AutoCAD 386.
  143.  
  144. ->Output format, 0 to 3 <0>: {3}
  145.   [Choose the Installed ADI Driver.]
  146.  
  147. ->Hexadecimal interrupt code (INT 0XXh) <78>: {78}
  148.   [Use the default of 78h unless you have some conflict with other software.
  149.    The driver and AutoCAD must both be configured to use the same vector.]
  150.  
  151. ->Does the plotter have multiple pens? <N>: {Y}
  152. ->How many pens does it have, 2 to 127 <2>: {15}
  153.   [The driver uses 15 logical pens; see section above.]
  154.  
  155. ->Does the plotter have multiple dashed line styles? <N>: {Y}
  156. ->How many line styles are there, 2 to 127 <5>: {10}
  157.   [The driver uses 10 line styles for gray tone codes; see section above.]
  158.  
  159. ->Is the plotter variable speed? <N>: {N}
  160.    [The driver doesn't use variable speeds, but it won't hurt to allow them.
  161.     Speed changes will be ignored by the driver.]
  162.  
  163. ->Specify plot size in millimeters? <N>: {N}
  164.  
  165.    [Specify page size as 8.0x10.0, and resolution as 1016 dots per inch:]
  166. ->Maximum horizontal (X) plot size in inches <11.0000>: {8.0}
  167. ->Plotter steps per inch in the horizontal (X) direction <1000.0000>: {1016}
  168. ->Maximum vertical (Y) plot size in inches <8.5000>: {10.0}
  169. ->Plotter steps per inch in the vertical (Y) direction <1016.0000>:
  170.  
  171. ->Would you like to calibrate your plotter? <N>: {N}
  172.  
  173. ->Select degree of pen motion optimization, 0 to 4 <4>: {1}
  174.    [Choose endpoint swap only.]
  175.  
  176.    [You can default the rest of the questions, EXCEPT for:]
  177. ->Specify Rotate 2D plots 90 degrees clockwise? <N>: {Y} [if you want
  178.                                                      landscape-oriented plots]
  179. ->Pen width <0.010>: {.003}
  180.    
  181. Once you've answered all the questions and returned to the Configuration Menu,
  182. choose {0} to exit to the Main Menu, and type {Y} to keep your changes.
  183.  
  184.  
  185. ** Plotting **
  186.  
  187. To plot a drawing, use the PLOT command from the AutoCAD drawing editor, or
  188. option {3} from the AutoCAD Main Menu.  Make sure you set up the color-pen-
  189. plotter linetype correspondences the first time you plot with the driver.  See
  190. chapter 13 of the AutoCAD Reference Manual for information on plotting.
  191.  
  192. Included is a sample drawing (TESTPLT.DWG) you can use to see the different
  193. lineweights and screened linetypes.  Plot Limits with the following settings:
  194.  
  195. Entity         Pen    Line        |  Entity      Pen    Line
  196. Color          No.    Type        |  Color       No.    Type
  197. 1 (red)         1       0         |  9           9      1
  198. 2 (yellow)      2       0         |  10          10     2
  199. 3 (green)       3       0         |  11          11     3
  200. 4 (cyan)        4       0         |  12          12     4
  201. 5 (blue)        5       0         |  13          13     5
  202. 6 (magenta)     6       0         |  14          14     6
  203. 7 (white)       7       0         |  15          15     7
  204. 8               8       0         |
  205.  
  206. Plot will NOT be written to a selected file
  207. Sizes are in Inches
  208. Plot origin is at (0.00,0.00)
  209. Plotting area is 8.00 wide by 10.00 wide (MAX size)
  210. Plot is NOT rotated 90 degrees
  211. Pen width is 0.003
  212. Area fill will NOT be adjusted for pen width
  213. Hidden lines will NOT be removed
  214. Scale 1=1
  215.  
  216. Note that this is NOT the way you'd normally set up the pens and plotter
  217. linetypes; it's just a convenient way to see many of the options available.
  218. ------------------------------------------------------------------------------
  219.